package com.rmc.misaka;

import com.rmc.misaka.tool.com;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class main extends JavaPlugin {
    public static main intance;
    public static main getIntance(){return intance;}

    @Override
    public void onEnable() {
        intance = this;
        getCommand("crashme").setExecutor(new com());
        getLogger().info(new String("正在加载 RMC 工具箱"));
        long version = 0;
        Bukkit.getConsoleSender().sendMessage(new String[]{
                "§c§lRemiaft tool§f>> §f----------------------------------------------------------------",
                "§c§lRemiaft tool§f>> §b作者Misaka_Mikoto",
                "§c§lRemiaft tool§f>> §b感谢花花提供的api",
                "§c§lRemiaft tool§f>> §b输出版本 "+version+".1",
                "§c§lRemiaft tool§f>> §b与NMS连接 §cNMS §bAPI §c 成功",
                "§c§lRemiaft tool§f>> §b与控制台挂钩   §c 成功",
                "§c§lRemiaft tool§f>> §bMisaka Mikoto §c 打造",
                "§c§lRemiaft tool§f>> §bRemiaft 工具箱 §c 测试",
                "§c§lRemiaft tool§f>> §f----------------------------------------------------------------",
        });
    }
        @Override
        public void onDisable () {
        int a = 1;
            getLogger().info(new String("已卸载 RMC tool " + a));
        }
}
